<!DOCTYPE html>
<html>
		<head>
				<meta charset='utf-8'>
				<title>Rango</title>
		</head>
		<body>
		
			<div>
				{% if category %}
					<h1>{{ category.name }}</h1>
					{% if pages %}
					<ul>
						{% for page in pages %}
						<li><a href="{{ page.url }}">{{ page.title }}</a></li>
						{% endfor %}
					</ul>

					{% else %}
						<strong>No pages currently in category.</strong>
					{% endif %}
				{% else %}
					<strong>The specified category does not exist!</strong>
				{% endif %}
			</div>		
		
		</body>

</html>
